package io.github.cunyu1943;

/**
 * Created with IntelliJ IDEA.
 *
 * @Package : io.github.cunyu1943
 * @ClassName : SubstringTest.java
 * @CreateTime : 2022/11/29 22:44
 * @Version : 1.0
 * @Author : 村雨遥
 * @Email : 747731461@qq.com
 * @公众号 : 村雨遥
 * @Website : https://cunyu1943.github.io/JavaPark
 * @Description : 字符串子串
 */
public class SubstringTest {
    public static void main(String[] args) {
        String name = "cunyu1943";

        System.out.println(name.substring(2, 5));
    }
}
